package com.hnguigu.health.houduan.zw.service_zw;

import com.hnguigu.health.mapper.*;
import com.hnguigu.health.pojo.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class zwimple implements zw{
    @Autowired(required = false)
    TQuestionBankMapper m ;
    @Autowired(required = false)
    TUserMapper tum ;
    @Autowired(required = false)
    TMemberDynamicinfoMapper tmbm;
    @Override
    public List<TQuestionBank> selectAllTQuestion(int id) {
        List<TQuestionBank> tPhysicalTables = m.selectAllTQuestion(id);
        return tPhysicalTables;
    }

    @Override
    public TUser tuu(TUser t) {
        TUser slog = tum.slog(t);
        return slog;
    }

    @Override
    public TMemberDynamicinfo tmb(TMemberDynamicinfo t) {
        TMemberDynamicinfo sel = tmbm.sele(t);
        return sel;
    }
}
